<?php

namespace app\admin\model;

use think\Model;


class Product extends Model
{

    

    

    // 表名
    protected $name = 'product';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    // 定义时间戳字段名
    protected $createTime = false;
    protected $updateTime = false;
    protected $deleteTime = false;

    // 追加属性
    protected $append = [

    ];
/*    protected $fields = [
        'id'        => ['name' => 'ID', 'type' => 'int'],
        'name'     => ['name' => '名称', 'type' => 'string'],
        'image'     => ['name' => '图片', 'type' => 'string'],
        'price'=> ['name' => '价格', 'type' => 'float'],
    ];*/
    

    







}
